#ifndef DIALOG_SET_H
#define DIALOG_SET_H

#include <QDialog>
#include  "fun.h"
namespace Ui {
class Dialog_set;
}

class Dialog_set : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog_set(test *da,QWidget *parent = nullptr);
    ~Dialog_set();

    static int show(test *buffer,QWidget *parent = nullptr);

    QPushButton *t_btn_yes;
    QPushButton *t_btn_no;
    QPushButton *t_btn_ture;

    enum EnmButton{
            ENM_yse_BTN = 1,
            ENM_no_BTN=2,
            ENM_true_BTN=0,
        };

private slots:
    void on_save_clicked();

    void on_login_clicked();

    void on_system_set_clicked();

    void on_reset_clicked();

private:
    Ui::Dialog_set *ui;
    test *buffer;
};

#endif // DIALOG_SET_H
